﻿Imports System.Data.OleDb

Public Class DataProvider
    Public Shared Function ConnectionData() As OleDbConnection
        Dim cnStr As String = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = QuanLyKhachSan.mdb"
        Dim cn As New OleDbConnection(cnStr)
        cn.Open()
        Return cn
    End Function
End Class
